Skip to main content

All Questions

Tagged with
2votes
1answer
344views

Meta-circular interpreter for lambda calculus in Haskell

For learning purpose, I've written a simple lambda calculus interpreter (plus 'Add'). I would like it to be the cleanest and most idiomatic possible. Bonus question: how would you use ...
YvesgereY's user avatar
7votes
1answer
287views

A simple brainf*** interpreter in Haskell

I am very new to Haskell and come from languages like C++, although I do have some experience with Scheme. Here, I wrote a simple brainf*** interpreter, which so far is my largest project. I followed ...
mrFoobles's user avatar
6votes
1answer
120views

TinCan (Esolang) Interpreter in Haskell

Haskell newbie here. Wanted to improve my skills by re-implementing an esolang I designed back in 2011 called TinCan. If there are things that are perhaps badly coded or unclear things due to my ...
Dehodson's user avatar
3votes
1answer
256views

AST-based Brainfuck interpreter in Haskell

Since implementing my Interactive Brainfuck interpreter in Haskell I figured that it would be a good idea to build upon an Abstract Syntax Tree. I have also decided to drop replacing the ...
skiwi's user avatar
  • 10.7k
15votes
2answers
350views

Interactive Brainfuck interpreter in Haskell

Last week I started learning Haskell, and since I have some experience with Brainfuck already, I decided it would be a great idea to implement an interactive Brainfuck interpreter in Haskell. I'll ...
skiwi's user avatar
  • 10.7k
2votes
1answer
161views

Haskell Brainf*ck interpreter: runtime error handling

I have designed a Brainf*ck interpreter in Haskell. I would appreciate the code review, especially any tips related to error handling (e.g. parsing errors, runtime errors, etc.). ...
penkovsky's user avatar
6votes
1answer
135views

Brain Flak implementation in Haskell

I'm a beginner to Haskell and functional programming as a whole and as a first project I've written a Brain-Flak implementation in Haskell. I wanted to get some feedback on this implementation ...
Sriotchilism O'Zaic's user avatar
6votes
1answer
123views

Yet another BrainF*** Interpretter in Haskell

I wrote a BrainF*** interpretter in Haskell. A general review would be helpful and especially, a suggestion with a better way to deal with the IO (IO Memory, IO ()) ...
Agnishom Chattopadhyay's user avatar
3votes
0answers
1kviews

Lambda calculus interpreter in Haskell

This code is a representation of lambda calculus using an AST instead of text. ...
stephenwebber's user avatar
47votes
1answer
3kviews

Charmander Brainfuck interpreter in Haskell

I just started learning Haskell and this is my first big project (ie not factorials, fibonacci or graphers). This is kind of a gift for somebody so the language is a bit different. The program works, ...
Ignis Incendio's user avatar
5votes
2answers
220views

Another Brainfuck interpreter in Haskell

I came up with the following Brainfuck interpreter in Haskell after thinking about how to represent the program and the memory functionally using zippers to represent current location. This works ...
ana's user avatar
  • 51
8votes
2answers
619views

Brainfuck interpreter in Haskell

Okay, so I just started learning Haskell around a week ago and this is my first real program that I worked on all of yesterday with a lot of help from IRC. I know that using indicies and arrays is not ...
John Smith's user avatar
5votes
1answer
320views

Simple evaluator of Scheme-like expressions in Haskell

This is my first nontrivial Haskell program: ...
Richard Cook's user avatar
7votes
1answer
122views

Primitive stack-based code interpreter

I've written an interpreter for a simple assembly-like language and it's performing slower than I would like. It's split into 3 files: the Parser that converts the source to a vector of ints, the VM ...
Darwin's user avatar
7votes
1answer
755views

A stack-based language interpreter in Haskell

Here is a little interpreter I wrote for a simple stack-based language. It is my first attempt at a complete Haskell program, beyond glorified calculator use. I'd like very much to get an expert's ...
b0fh's user avatar
  • 193

153050per page
close